package com.atguigu.jxc.dao;


import com.atguigu.jxc.entity.PurchaseList;
import com.atguigu.jxc.entity.PurchaseListGoods;

import java.util.List;

public interface PurchaseListDao {

     void insertPurchaseList(PurchaseList purchaseList);

    void insertPurchaseListGoods(PurchaseListGoods purchaseListGoods);


    List<String> findPurchaseList(String purchaseNumber, Integer supplierId, Integer state, String sTime, String eTime);

    List findGoodsList(Integer purchaseListId);

    void deletePurchaseList(Integer purchaseListId);

    void updateState(Integer purchaseListId);

    List<String> count(String sTime, String eTime, Integer goodsTypeId, String codeOrName);
}
